package com.itheima.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.itheima.ydd.entry.YddAdvpos;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface YddAdvposMapper extends BaseMapper<YddAdvpos> {
    @Select("select count(*) from ydd_advimg where advimgpos = #{id}")
    Integer count(Integer id);

}
